dump

open fun dump(@NonNull prefix: String, @Nullable fd: FileDescriptor, @NonNull writer: PrintWriter, @Nullable args: Array<String>)(source)

Print the Activity's state into the given stream. This gets invoked if you run "adb shell dumpsys activity ".

Parameters

prefix

Desired prefix to prepend at each line of output.

fd

The raw file descriptor that the dump is being sent to.

writer

The PrintWriter to which you should dump your state. This will be closed for you after you return.

args

additional arguments to the dump request.